Humidity sensor diagnostic method using condensation clearing heater

ABSTRACT

A diagnostic method for a capacitive humidity sensor comprising a heater, and a capacitance-sensing element that individually identifies heater, temperature-sensing element, or capacitance-sensing element degradation. By this method, individual elements of the sensor may be replaced or compensated for to allow for further operation.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 13/857,884, entitled “HUMIDITY SENSOR DIAGNOSTIC METHOD USINGCONDENSATION CLEARING HEATER,” filed on Apr. 5, 2013, the entirecontents of which are hereby incorporated by reference for all purposes.

BACKGROUND AND SUMMARY

Engine systems may employ humidity sensors to monitor the operatingconditions of the engine. Humidity sensors located within the intakemanifold can factor into a determination of an air-to-fuel ratio, meteran amount of exhaust gas recirculation in an intake, and others.

Humidity sensors may measure relative humidity, absolute humidity, orspecific humidity.

One example humidity sensor degradation diagnostic method is disclosedin U.S. Pat. No. 6,073,480 wherein fault within a capacitance humiditysensor is determined by using a condensation heater coupled to thehumidity sensor to increase the local temperature and thus thecorresponding humidity. Degradation is then determined by comparing thecapacitance of the sensor before and after the heater is activated.Specifically, U.S. Pat. No. 6,073,480 determines capacitance humiditysensor degradation by cycling between temperatures above and below a dewpoint and compares the change in relative humidity to the change incapacitance. If the capacitance does not change an expected amountbetween an above-dew-point and a below-dew-point temperature, sensordegradation is indicated.

However, the inventors herein have recognized some potential issues withthe above approach. Namely, the degradation indication relies on aproperly functioning heater and temperature sensor. Heater ortemperature sensor degradation may therefore be misdiagnosed as sensorcapacitor degradation, or vice versa. The above method also relies on amodeled local temperature in response to the activation of a heater;however the temperature near the humidity sensor is not isolated and maybe affected by atmospheric temperature or the heat of the engine,leading to inaccurate results.

The inventors recognized that the above issues may be addressedspecifically in systems with a condensation-heater and temperaturesensor coupled to the humidity sensor. Embodiments of these systems usethe absolute humidity detected, a measured temperature, and an assumedor measured total pressure to determine other measures of humidity. By asimilar method, absolute humidity can be found to be a function oftemperature, total pressure, and specific humidity.

For example, specific humidity (also known as humidity ratio) is notaffected by ambient temperature or pressure, because it is a mass ratioof water to dry air. Therefore, the relative humidity for a givenabsolute humidity can be modeled as a function of pressure andtemperature. The inventors found that by comparing the modeled output ofthe humidity sensor to the actual output of the humidity sensor,degradation can be determined if the difference between the modeledoutput and actual output surpasses a margin of error threshold.

In other embodiments using particular humidity sensors, the relativehumidity may be calculated as a function of the specific humidity andthe measured temperature. Humidity sensor degradation may then beindicated if the calculated relative humidity exceeds the known limitsfor relative humidity.

In one embodiment, a method, comprises operating a sensor in an engineintake, a housing of the sensor including a temperature-sensing element,a heater, and a capacitance-sensing element; and individuallydistinguishing between each of heater, temperature-sensing element, andcapacitance-sensing element degradation. In this way, it is possible toprovide accurate diagnostics and prognostics.

It should be understood that the summary above is provided to introducein simplified form a selection of concepts that are further described inthe detailed description. It is not meant to identify key or essentialfeatures of the claimed subject matter, the scope of which is defineduniquely by the claims that follow the detailed description.Furthermore, the claimed subject matter is not limited toimplementations that solve any disadvantages noted above or in any partof this disclosure.

BRIEF DESCRIPTION OF FIGURES

FIG. 1 shows a schematic embodiment of an intake and exhaust system.

FIG. 2 shows a schematic embodiment of a humidity sensor.

FIG. 3 graphically depicts example engine conditions as a function oftime.

FIG. 4A graphically depicts an example relative humidity as a functionof time for an actual humidity sensor output and a modeled humiditysensor output.

FIG. 4B graphically depicts the error between the actual humidity sensoroutput and the modeled humidity sensor output or FIG. 4A as a functionof time.

FIG. 5A graphically depicts an alternate example relative humidity as afunction of time for an alternate actual humidity sensor output and analternate modeled humidity sensor output.

FIG. 5B graphically depicts the error between the actual humidity sensoroutput and the modeled humidity sensor output of FIG. 5A.

FIG. 6 graphically depicts the average error of four example humiditysensor outputs.

FIG. 7 is an example humidity sensor degradation diagnostic method.

FIG. 8 is an example humidity sensor degradation diagnostic method.

FIG. 9 is an example humidity sensor degradation diagnostic method.

FIG. 10 is an example humidity sensor degradation diagnostic method.

FIG. 11 is an example humidity sensor degradation diagnostic method.

FIG. 12 is an example humidity sensor degradation diagnostic method.

DETAILED DESCRIPTION

EGR systems may be incorporated into engine systems to lower emissionsand increase fuel efficiency. The amount of EGR delivered to an enginemay depend on several operating conditions including the properties ofthe exhaust gas recirculated into the intake. Exhaust may berecirculated to control emissions. The amount of EGR recirculated mayalso be adjusted to achieve an engine torque. These adjustments may bemade in response to sensors in an EGR path or in the intake and mayinclude humidity sensors that may be employed to determine the aircharge.

The concentration of various emissions such as particulate matter andNO_(X) may be determined at point throughout the intake and exhaustsystem and may vary in response to operating conditions. NO_(X)concentration may increase with combustion temperature within the enginesystem and decrease with diluents such as humidity. Therefore, engineoperating conditions may be adjusted in response to humidity to achievean emission rates.

Humidity may be monitored using one of three different measurements.

Relative humidity is defined as the ratio of partial pressure of watervapor to the saturated vapor pressure at a specified temperature.Relative humidity may be computed from a dew point sensor's measurementof dew point. This type of sensor maintains a mirror at a dew pointtemperature and senses the amount of condensation that forms on thechilled mirror. Relative humidity may also be computed from wet bulb anddry bulb measurements. Relative humidity may be computed from theevaporative cooling effect observed on a wet surface.

Absolute humidity is a measure of the amount of water per unit volume ofa total mixture of air and water vapor. Water vapor content sensors maybe used to measure absolute humidity. These sensors include capacitancehumidity sensors wherein the amount of water between the electrodes ofthe capacitor affects the dielectric constant of the capacitor and thusthe capacitance. Further, water vapor sensors may measure a temperatureand measure or assume a total pressure to compute other measures ofhumidity such as relative or specific humidity.

Specific humidity may be defined as the ratio of an amount of water toan amount of dry air in a given volume. As explained herein, using theprinciples of thermodynamics, the specific humidity may be found to be afunction of the relative humidity and other parameters. Specifichumidity is particularly useful in determining levels of air dilutionwith water.

Turning now to additional details regarding the different measures ofhumidity, the absolute humidity of a sample may be defined by:

$H_{ABS} = {\frac{m_{H_{2}O}}{V_{air}}.}$

Relative humidity of a given sample is the ratio of the partial pressureof water vapor within the mixture to a known value of the saturatedvapor pressure of the liquid in thermodynamic equilibrium at the giventemperature:

$H_{R} = {\frac{{partial}\mspace{14mu} {pressure}\mspace{14mu} {of}\mspace{14mu} {water}\mspace{14mu} {vapor}\; ( P_{H_{2}O} )}{{saturated}\mspace{14mu} {vapor}\mspace{14mu} {pressure}\mspace{14mu} {at}\mspace{14mu} {that}\mspace{14mu} {temperature}\; ( P_{Sat} )}.}$

Specific humidity of a sample is the ratio of the mass of water vaporwithin the sample to the mass of dry air within the sample:

$H_{S} = {\frac{m_{H_{2}O}}{m_{air}}.}$

The mass of H₂O may be a function of its molar mass (18 g/mol),temperature, and partial pressure. Similarly the mass of air may befound to be a function of molar mass (29 g/mol), temperature, andpartial pressure. The partial pressure of air within a sample containingwater vapor may be found to be equal to the partial pressure of theambient air minus the partial pressure of water. Thus, the specifichumidity may be represented by the equation below:

$H_{S} = {\frac{P_{H_{2}O} \times 18\mspace{14mu} {g/{mol}}}{( {P_{ambient} - P_{H_{2}O}} ) \times 29\mspace{14mu} {g/{mol}}} \times 1000\mspace{14mu} {g/{{kg}.}}}$

Relative humidity may also be found to be a function of the specifichumidity:

$H_{R} = {\frac{P_{H_{2}O}}{P_{Sat}} = {\frac{P_{ambient}}{P_{Sat}}{( \frac{1}{1 + \frac{620.68}{H_{S}}} ).}}}$

This relationship may be represented logarithmically:

log(H _(R))=log(P _(ambient))−log(P _(Sat))+c ₁ log(H _(S))+c ₂.

The pressure of a saturated system at a given temperature is in thedenominator of this ratio, thus the relative humidity cannot surpass100%, as partial pressure is directly related to percent saturation.Therefore, relative humidity has an upper limit of 100%. The lowestrelative humidity observed at the earth surface is approximately 20%.

Specific humidity may be a function of absolute humidity and temperatureand may be expressed in most atmospheric conditions as:

$H_{S} = {\frac{H_{A}{{RT}( {P_{ambient} - P_{H_{2}O}} )}}{M}.}$

Relative humidity may similarly be expressed as:

$H_{R} = {\frac{P_{ambient}}{P_{Sat}}\frac{1}{1 + \frac{620.68\; M}{H_{A}{{RT}( {P_{ambient} - P_{H_{2}O}} )}}}}$

Here R is the Rydberg constant and T is the temperature. Thus there isno net effect on either H_(S) or H_(T) due to temperature.

If heat is added to a sample of air the density of sample will decrease,thus the mass of water vapor within a given volume of air will decrease.This causes a decrease in the absolute humidity measurement due to itsvolume dependence. However, the ratio between the mass of water vaporand the mass of dry air will remain constant as the temperature changewill equally affect both masses. Therefore, the specific humidity andrelative humidity remain unaffected by the change in temperature.

Capacitance humidity sensors measure absolute humidity by placing thecapacitor's electrode within a sample to be measured, filling the airgap separating the electrodes. Water in liquid or vapor form hasdielectric capabilities so that, when placed between two plates of acapacitor, its dipole moment will align along the electric field betweenelectrodes lowering the electric field strength between the electrodes.The presence of the dielectric heightens the capacitance. Capacitancemay then be measured by monitoring the current through a circuit withknown voltage potentials (normally done with an AC circuit)

The amount of dielectric between the electrodes is directly proportionalto the increase in capacitance. Therefore, if absolute humidityincreases, the mass of water present within the volume between thecapacitors electrodes increases consequently increasing capacitance.Similarly, if absolute humidity decreases, the mass of water presentwithin the volume between the capacitor's electrodes decreasesconsequently decreasing capacitance. Thus, an expected change inabsolute humidity can be modeled as a function of a change intemperature.

FIG. 1 shows an example intake and exhaust system for a four cylinderinline engine that may be included in the propulsion system of avehicle. FIG. 2 shows an example humidity sensor including acondensation heater a capacitance sensor, and a temperature sensor. Therelationship between a capacitance, relative humidity, absolute humidityand temperature is shown for an example humidity sensor over a period oftime is depicted in FIG. 3. FIG. 4A shows an example relative humidityfor the output of an actual humidity sensor and a modeled humiditysensor over a period of time. The error between the two outputs in FIG.4A is depicted in FIG. 4B. FIG. 5A shows an alternate example relativehumidity for the output of an actual humidity sensor and a modeledhumidity sensor over a period of time. The error between the two outputsin FIG. 5A is depicted in FIG. 5B. The average error for four exampleactual humidity sensor outputs and their corresponding modeled outputs(such as those depicted in FIG. 4A and FIG. 5A) is shown in FIG. 6.

Example embodiments of humidity sensor degradation diagnostic methodsare shown in FIG. 7-12. In FIG. 7, an example method is shown thatindicates humidity sensor degradation in response to temperature change.FIG. 8 shows an example method to diagnose degradation of thetemperature sensor within a humidity sensor. FIG. 9 shows an alternatemethod to diagnose degradation of a temperature sensor within a humiditysensor. FIG. 10 shows a method to determine degradation of a humiditysensor in response to accepted relative humidity ranges. FIG. 11 showsan alternate method to diagnose temperature sensor degradation within ahumidity sensor. FIG. 12 shows an example method to diagnose humiditysensor degradation as well as the component within the humidity sensorthat is degraded.

The embodiment in FIG. 1 shows an example exhaust system of an enginethat may be included in the propulsion system of a motor vehicle. Theembodiment is compatible with a four cylinder inline engine. Air fromthe atmosphere may enter an intake pipe 100 and be throttled by lowpressure throttle 102 actuated by control system 142 in response toengine load. Here air intake may be combined with recirculated exhaustgas in embodiments with EGR via EGR pipe 108. The flow of EGR gas intothe aircharge may be metered by an EGR valve 110 actuated by controlsystem 142. In turbocharged systems, aircharge may be compressed bycompressor 112 receiving power from turbine 132. In some embodimentsthrottle 114 may control the recirculation of compressed aircharge intothe compressor via compressor bypass 116 in response to operatingconditions, actuated by control system 142. Air charge may then passthrough charge air cooler 118. Compressed aircharge may subsequently bethrottled by high pressure throttle 104. A crank case ventilation pipe126 and/or one or more intake purges may be coupled to the intakesystem. Compressed aircharge may the enter intake manifold 128 coupledto the combustion chambers of the engine. Fuel may be injected into theair charge within the intake manifold 128 or within the combustionchamber.

Exhaust manifold 130 may be coupled to the combustion chambers.Downstream of the exhaust manifold 130, an exhaust pipe 140 may becoupled to turbine 132 providing power to compressor 112. Turbine bypass134 may have an inlet coupled to exhaust pipe 140 upstream of theturbine and an outlet coupled to exhaust pipe 140 downstream of theturbine. The flow of high pressure exhaust gas through the turbinebypass 134 may be metered by a turbine bypass throttle 136 in responseto operating conditions via the control system 142. Exhaust may berecirculated into the exhaust system via EGR pipe 108. One or more EGRcoolers 106 may be coupled to the EGR pipe 108. In other embodiments theexhaust system may be coupled to the EGR pipe upstream or downstream ofthe turbine and the EGR pipe may be coupled to intake pipe 100 upstreamor downstream of the compressor. Further, embodiments may include amultitude of combinations of the above EGR paths. Exhaust pipe 140 maybe coupled to an emission control device 138 such as a catalyticconverter or a particulate filter.

The system of FIG. 1 may have a multitude of sensors 144 communicativelycoupled to control system 142. These sensors may include temperaturesensors, pressure sensors, and humidity sensors. Humidity sensors may belocated at several locations within the intake and exhaust system todetermine humidity at various points and may communicate with thecontrol system communicatively coupled to actuators that may beresponsive to humidity. Three possible locations for humidity sensorsare indicated by letters A, B, and C in FIG. 1. Embodiments may includesensors at A, B, C, other unspecified locations, or some combinationthereof.

Humidity sensors that are located at positions at or near atmosphericpressure, such as an intake manifold upstream of a turbo charger, arelative humidity sensor may measure absolute humidity and augment thatmeasurement with a predefined pressure value (generally ˜103 kPa) todetermine relative humidity. Thus, if the atmospheric pressure is known,a correction may be made for the difference between assumed pressure andactual pressure.

If a humidity sensor is placed in a location with dynamically changingpressures, the absolute humidity may be determined and the relativehumidity may be augmented by a measured or calculated pressure. Pressuremay be measured at or near the humidity sensor, it may also becalculated based on other measured conditions near the humidity sensoror a known relationship between actual humidity and other operatingconditions or pressure measurements.

Let me say a word about relative humidity sensors commercially availableto the automotive industry. They are typically truly absolutetemperature sensors augmented with temperature sensors. They assume apressure—typically 103 kPa. In the past, they have been always locatedin places were the pressure was atmospheric. Thus, if the atmosphericpressure was known, a correction could be made for the differencebetween assumed pressure and actual pressure. Since we are putting thesehumidity sensors in a location with dynamically changing pressures, itfundamentally changes how we have to compensate these sensors for actualpressure instead of an assumed single pressure.

A humidity sensor at location A may measure the humidity of exhaust gasto be recirculated into the intake. The humidity of EGR gas may bedeterminative of the water vapor content within the EGR gas as well asthe concentration of various emissions being exhausted by the vehicle atthe presiding operating conditions. Actuators 146 communicativelycoupled to the control system may be responsive to a humidity sensor atlocation A. For example, if the humidity at A increases it may indicateincreased water vapor concentration within the EGR gas. EGR throttle 110may be actuated in response to the increase and may increase the amountof EGR gas recirculated into the intake. The control system may, forexample, have instructions to actuate the EGR throttle to adjustemission rate, engine temperature, or engine torque.

A humidity sensor at location B may measure the humidity of theaircharge from the atmosphere that may contain an amount of EGR gas. Acontrol system 142 may use the sensor at B to determine the water vaporcontent of air charge to be delivered to the engine or the atmospherichumidity. Further, actuation of low pressure throttle 102 or compressorbypass throttle 114 may be adjusted in response to atmospheric humidityto achieve an internal temperature, humidity, pressure, or combustionefficiency. Compressor bypass throttle 114 may increase an amount of aircharge through compressor bypass 116 in response to increased humiditylevels so as to prevent degradation to the compressor from condensation.

A humidity sensor at location C may determine the humidity of thecompressed aircharge to be delivered to the engine and may determine thetotal fuel content from aircharge available for combustion. Highpressure throttle 104 may be responsive to the humidity measured atlocation C and may adjust an amount of compressed air delivered to theintake manifold. Humidity at C may be influenced by the flows ofcrankcase vapor, brake booster air, or canister purge fuel/air mix thatflow into the intake manifold.

FIG. 2 is a schematic depiction of an embodiment of a humidity sensorcompatible with the disclosed method. Aircharge may flow through apassage 200, the sensor may be at an aforementioned sensor location. Thehumidity sensor disclosed may couple a heater 202, a capacitor 204, anda temperature sensor 206. The depicted temperature sensor 206 is acoiled resistance thermometer however other embodiments may use othertemperature sensors such as alternate resistance thermometerconfigurations or a thermocouple. The heater depicted is a resistiveheater; other embodiments may similarly use other heaters. The heater,temperature sensor, and capacitor may be aligned linearly such the airflowing past the heater may pass through the capacitor and thermallyinteract with the temperature sensor.

When activated, heater 202 may increase the local temperature within thehumidity sensor. The increased local temperature may cause the airchargewithin the humidity sensor, between the parallel plates of the capacitor204 specifically, to expand. Because this expansion is homogenous, theamount of water vapor within the volume between the parallel plates maydecrease causing a decrease in capacitance. Temperature sensor 206 maythen measure the temperature of the air that has traversed thecapacitor.

The relationship between components is depicted in FIG. 3. Prior toheater activation absolute humidity, capacitance, temperature, andrelative humidity will have some non-zero value. Upon heater activation,the temperature measured may increase with time along temperature trendline 302. Capacitance may however decrease along a capacitance trendline 304 that may be an inversion of the temperature trend line 302.Relative humidity remains at a constant value along relative humiditytrend line 306. Absolute humidity is linearly related capacitance, andmay follow a trend line similar to capacitance trend line 304. FIG. 3 isnormalized for a value of specific humidity for clarity and is notadjusted for uncertainty.

Using the aforementioned equations, relative humidity may be modeled ina disclosed embodiment, as a function of absolute humidity andtemperature. FIG. 4A shows an example relationship between the modeledrelative humidity and the actual relative humidity for an embodiment ofthe humidity sensor. The modeled relative humidity may be modeled afterequation:

$H_{R} = {\frac{P_{H_{2}O}}{P_{Sat}}.}$

The measured relative humidity may be determined using equation:

$H_{R} = {\frac{P_{ambient}}{P_{Sat}}\frac{1}{1 + \frac{620.68\; M}{H_{A}{{RT}( {P_{ambient} - P_{H_{2}O}} )}}}}$

The water vapor pressure may be determined by a pressure sensor and thesaturated vapor pressure may be calculated in response to the operatingconditions, may be a predetermined value, or may be eliminated. Anexample modeled output and actual output that may be used in the controlsystem for diagnostics are shown in FIG. 4A. The actual output variables(HA and T) and the modeled output variables (P_(ambient) and P_(Sat))may be sampled several times throughout the diagnostic test. The errorbetween the actual relative humidity and the modeled relative humidityis shown in FIG. 4B. In this example the model value remained within 20%of the actual value.

In embodiments where a capacitive sensor within a humidity sensorreports RH in relative humidity, the control system may first compute arelative humidity based on a capacitive sensor output and a measuredtemperature. A pressure within the humidity sensor may be assumed and anabsolute humidity calculated.

The sensor may report a relative humidity and a temperature. Using theabsolute humidity calculated by the control system and the relativehumidity reported by the sensor, an expected reported temperature may becomputed. Other embodiments may compute an expected specific humidity ordew point. This may be compared to the reported temperature from thesensor for indications of degradation. Alternately, the absolutehumidity computed by the control system and the temperature reported bythe sensor may be used to determine an expected relative humidity. Thisexpected relative humidity may be compared to the reported relativehumidity for indications of degradation. The expected output may bereferred to as the “modeled output”. The reported output may be referredto as the “actual output”.

FIG. 5A shows the same relationship as FIG. 4A for a degraded humiditysensor. Here the modeled output remains significantly higher than theactual output from the sensor. In this example, the percent errorbetween the measurements reaches 70% as shown in FIG. 5B.

The error between the actual output and the modeled output over thesampling period is averaged for diagnostic runs on four differentsensors in FIG. 6. The error found for a first sensor diagnostic 602 anda second sensor diagnostic 604 are, on average, below 20%. The errorfound for a third sensor diagnostic 606 and a fourth sensor diagnostic608 are, on average, above 60%. The error distributions are plotted forfirst sensor diagnostic 602 and second sensor diagnostic 604 at firstdistribution line 610. The error distributions are plotted for thirdsensor diagnostic 606 and fourth sensor diagnostic 608 at seconddistribution line 612. If a sample distribution line has a distributionmaximum above a threshold 600, such as line 612, degradation may beindicated.

In engine systems wherein a stable relative humidity can be maintainedover a period of time, degradation may be indicated in some embodimentsif the reported relative humidity changes during heater operation.Because relative humidity is a function of sensor output, unexpectedunstable reported relative humidity within a temperature range may beindicative of a degradation of the temperature sensor and/or the sensorcapacitor.

Alternate embodiments, such as that shown in FIG. 7 may, at a firstcondition, measure the capacitance of the sensor capacitor at 702 andmeasure the temperature within the humidity sensor at 704. At 706, afirst absolute humidity H_(A1) may be determined using a predeterminedabsolute humidity to capacitance relationship for the specific system.The local temperature may then be increased at 708 using a condensationheater that may be coupled to the temperature sensor and the capacitorwithin the humidity sensor. At a second condition, the local temperatureT₂ may again be measured at 710. The capacitance of the sensor capacitormay be measured again at T₂ and the absolute humidity H_(A2) may befound using the method of 706 at 710. The percent change of temperaturemay be determined by ΔT=T₁−T₂/T₁ at 716, similarly, the percent changeof absolute humidity may be determined using ΔH=H_(A1)−H_(A2)/H_(A1) at718. If the percent change of absolute humidity is not within athreshold error value of the percent change in temperature, degradationmay be indicated. In other words, if a change of heat within the sampledengine air does not result in a change in absolute humidity of thesampled engine air within the measurement zone, degradation may beindicated

It should be appreciated that the local temperature and the observed andexpected effects on engine air, refer to the small sample of engine airwithin the humidity sensor and may not be applicable to the bulk engineairflow.

A temperature sensor diagnostic method is disclosed that may beperformed additionally or alternatively to the other humidity sensordiagnostic methods and is depicted in FIG. 8. If a rational check isinitiated, it may first be determined if the engine is off at 802. Ifthe engine is not off the method may terminate. It may then bedetermined if rational check conditions are met, example rational checkconditions may include ambient temperature or temperature within theengine system, humidity, thermal homogeneity throughout the enginesystem, or duration of engine key-off. Rational check conditions may, insome embodiments, include a 6 or more hour key-off engine soak.

If the rational check conditions are met at 804, it may be determined ifthe engine is in stable equilibrium at 806. Stable equilibrium may bedetermined by a number of ways, including monitoring engine conditionsover a period of time or comparing engine conditions to known stableequilibrium conditions. If the engine is in stable equilibrium then afirst temperature T₁ may be measured by the temperature sensor coupledto the humidity sensor at 808. This may be compared to temperaturemeasurement T₂ by a second temperature sensor located within the enginesystem at 810. In thermal equilibrium the temperature in all parts ofthe engine system may be within a margin of error threshold that can bepredetermined with much greater precision than during engine-on orunstable equilibrium. If the difference between T₁ and T₂ is not withinthe threshold at 812, degradation may be indicated at 816.

Stable equilibrium conditions may be specific to the locations of thefirst and second temperature sensor. Thus, the rational check of FIG. 8may be performed when conditions would result in similar temperaturesand temperature readings at the location of the first sensor and thelocation of the second sensor.

An additional temperature sensor check method is depicted in FIG. 9.Upon initiation at 900 it may be determined if the engine is on at 902.If the engine is operating then it may be determined if rational checkconditions are met at 904. The conditions may include the passage ofsome amount of time since the last check was performed (so that thechecks occur at regular intervals), presiding operating conditions, oran indication of following one or more of the methods disclosed herein.If conditions are met than the temperature within the humidity sensormay be determined using the coupled temperature sensor at 906. Theengine may operate between a known temperature operating range whereinthe minimum may be atmospheric temperature and the maximum may bemaximum operating temperature. Thus, the temperature as determined bythe sensor may be compared to known operating temperatures at 908. Ifthe temperature sensor indicates that the temperature is outside theaccepted range, degradation may be indicated at 910.

In another embodiment depicted in FIG. 10, the specific humidity may bemeasured or calculated from the absolute humidity and temperature.Relative humidity may be determined using a predefined relationshipbetween capacitance and absolute humidity for a given humidity sensor.Temperature may be determined using a temperature sensor coupled to ahumidity sensor or by another method not otherwise specified herein.

At 924 the relative humidity may be calculated for the given specifichumidity, wherein the ambient pressure may be measured by a pressuresensor within the system, or a predetermined set value used for thesystem or operating conditions. Similarly, the saturated vapor pressuremay be a set value predetermined for the system or may be based on oneor more sensor measurements. A relative humidity range may bepredetermined for certain operating systems. The range may be betweenthe maximum possible relative humidity (100%) and the minimum observedrelative humidity (˜20%); it may also be an alternate predeterminedrange where a minimum relative humidity threshold and a maximum relativehumidity threshold are determined. If the relative humidity is found tobe between the minimum and maximum threshold at 926, the degradationcheck may terminate at 930. If the relative humidity is found to beoutside of the range at 926, degradation may be indicated at 928.

Further embodiments, such as that depicted in FIG. 11, may includediagnosing humidity sensor degradation by measuring the temperature at afirst condition using the temperature sensor coupled to the humiditysensor at 942. At 944, the local temperature within the humidity sensormay be increased using a condensation heater coupled to the humiditysensor. A second temperature may be measured at 946 after apredetermined amount of time using the temperature sensor coupled to thehumidity sensor. An accepted maximum temperature change and minimumtemperature change may be determined for the system and duration ofheater activation. If the observed temperature change is within themaximum and minimum temperature change threshold, the method mayterminate at 952. If the observed temperature change is outside of themaximum and minimum temperature change threshold, degradation may beindicated at 952.

In some embodiments one or more of the above diagnostic methods may beused in conjunction. An example method combining the disclosed methodsis indicated in FIG. 12. After the initiation of a humidity sensordiagnostic routine at 960, one of the aforementioned humidity sensordiagnostic routines may be performed. An example embodiment of thehumidity sensor diagnostic performed at 960 may include one or more ofthe routines depicted in FIG. 7, FIG. 10, or the model error routinedescribed above. If degradation is indicated at 964, a flag may be setwithin the control system at 966.

At 968, a temperature sensor diagnostic method may be performed on thetemperature sensor within the humidity sensor. The temperature sensordiagnostic method may include any of the aforementioned temperaturesensor diagnostic methods such as those depicted in FIG. 9 or FIG. 11.If degradation within the temperature sensor is indicated it may bedetermined if the flag was set in the control system at 966. If a flaghad been set at 966 then degradation may be indicated within thetemperature sensor of the humidity sensor. If a flag had not been set at966 then it may be determined that degradation has occurred within thecondensation heater. This is because the humidity sensor diagnosticmethods disclosed herein rely on the temperature sensors measurements,thus a degraded condensation heater may not affect the diagnosis of thehumidity sensor based on relative, specific, or absolute humidity.

If temperature sensor degradation is not indicated at 972, then it mayagain be determined if a flag was set in the control system at 966. If aflag was set at 966, degradation within the humidity sensors capacitancesensor may be indicated at 978. If the flag was not set the process mayterminate at 980. By this method degradation within the humidity sensormay be determined, further, the component contributing to thedegradation may be determined so that the component may be replaced orrepaired without replacing the entire sensor or performing additionaltimely or expensive diagnostics.

Note that the example control and estimation routines included hereincan be used with various engine and/or vehicle system configurations.Further, this technology can be applied to any type of powertrainincluding, but not limited to, powertrains associated with pureelectric, hybrid electric, plug-in hybrid electric, fuel cell electric,and diesel engine powered vehicles. The specific routines describedherein may represent one or more of any number of processing strategiessuch as event-driven, interrupt-driven, multi-tasking, multi-threading,and the like. As such, various acts, operations, or functionsillustrated may be performed in the sequence illustrated, in parallel,or in some cases omitted. Likewise, the order of processing is notnecessarily required to achieve the features and advantages of theexample embodiments described herein, but is provided for ease ofillustration and description. One or more of the illustrated acts orfunctions may be repeatedly performed depending on the particularstrategy being used. Further, the described acts may graphicallyrepresent code to be programmed into the computer readable storagemedium in the engine control system.

It will be appreciated that the configurations and routines disclosedherein are exemplary in nature, and that these specific embodiments arenot to be considered in a limiting sense, because numerous variationsare possible. For example, the above technology can be applied to V-6,I-4, I-6, V-12, opposed 4, and other engine types. The subject matter ofthe present disclosure includes all novel and nonobvious combinationsand subcombinations of the various systems and configurations, and otherfeatures, functions, and/or properties disclosed herein.

The following claims particularly point out certain combinations andsubcombinations regarded as novel and nonobvious. These claims may referto “an” element or “a first” element or the equivalent thereof. Suchclaims should be understood to include incorporation of one or more suchelements, neither requiring nor excluding two or more such elements.Other combinations and subcombinations of the disclosed features,functions, elements, and/or properties may be claimed through amendmentof the present claims or through presentation of new claims in this or arelated application.

Such claims, whether broader, narrower, equal, or different in scope tothe original claims, also are regarded as included within the subjectmatter of the present disclosure.

1. A method, comprising operating a sensor in an engine intake of anengine having a turbocharger including a compressor and a turbine, apassage of the sensor including a temperature-sensing element, a heater,and a capacitance-sensing element; individually distinguishing betweeneach of heater, temperature-sensing element, and capacitance-sensingelement degradation; and setting a diagnostic code indicating thedistinguished degradation.
 2. The method of claim 1, wherein sensorprovides an indication of humidity.
 3. The method of claim 2, whereinthe humidity is based on the capacitance-sensing element output.
 4. Themethod of claim 3, wherein the indication of humidity is one or more ofrelative humidity, specific humidity, or absolute humidity.
 5. Themethod of claim 1, wherein an order of diagnostics among the heater,temperature-sensing element, and capacitance-sensing element degradationincludes first determining whether overall degradation is present, andsecond determining temperature-sensing element degradation.
 6. Themethod of claim 5, wherein the distinguishing is based on the first andsecond determination, and further includes indicatingcapacitance-sensing element degradation if overall degradation ispresent and temperature-sensing element degradation is not present,indicating temperature-sensing element degradation if overalldegradation is not present and temperature-sensing element degradationis present, and indicating heater degradation if overall degradation ispresent and temperature-sensing element degradation is present.
 7. Themethod of claim 1, wherein the distinguishing is based at least ondifferent absolute humidity readings determined at differenttemperatures.
 8. The method of claim 1, wherein the distinguishing isbased at least on specific humidity.
 9. A system, comprising: an enginehaving a compressor in an engine intake system; a sensor coupled in theengine intake system having a condensation heater, a capacitance sensor,and a temperature sensor; a control system with sensors and actuators,including the sensor coupled in the engine intake, and actuatorsresponsive to humidity including an exhaust gas recirculation actuatoradjusted responsive to the humidity, to indicate capacitance-basedhumidity sensor degradation in response to a measured humidity of thesensor; and indicate degradation within a component of the humiditysensor in response to temperature sensor degradation.
 10. The system ofclaim 9, wherein the sensor is coupled in an exhaust gas recirculation(EGR) passage.
 11. The system of claim 10, wherein the control systemincreases an amount of EGR gas recirculated into the engine intake ifthe measured humidity increases.
 12. The system of claim 11, wherein thecontrol system further adjusts engine torque.
 13. The system of claim 9,wherein the measured humidity is one or more of relative humidity,specific humidity, or absolute humidity.
 14. The system of claim 9,wherein humidity sensor degradation is indicated if an error between amodeled humidity and the measured humidity exceeds a threshold.
 15. Thesystem of claim 9, wherein the control system determines a relativehumidity based on the measured humidity and indicates humidity sensordegradation if the relative humidity falls above a predeterminedrelative humidity maximum or below a predetermined relative humidityminimum.
 16. The method of claim 15, wherein the predetermined relativehumidity maximum is between 90% and 100% and the predetermined relativehumidity minimum is between 15% and 30%.
 17. The system of claim 9,wherein during a first condition allowing the engine to equilibratefollowing a vehicle-off event, the control system measures a temperaturewithin the humidity sensor using the temperature sensor, and measuresthe temperature in one or more locations within the engine system usingadditional temperature sensors; and indicates temperature sensordegradation if the temperature sensor measurement does not fall betweena range of values determined by the additional temperature sensors. 18.The system of claim 9, wherein the control system indicates capacitancesensor degradation if humidity sensor degradation is indicated andtemperature sensor degradation is not indicated.
 19. The system of claim9, wherein the control system indicates temperature sensor degradationif humidity sensor degradation is indicated and temperature sensordegradation is indicated.